package com.example.demo.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Question MyList
 * @Date 2022/11/22 9:17
 * @Solution
 */
@Component
@ConfigurationProperties(prefix = "mylist")
public class MyList {
    private List dbtype;

    public List getDbtype() {
        return dbtype;
    }

    public void setDbtype(List dbtype) {
        this.dbtype = dbtype;
    }
}
